﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataBase.Acta;

namespace Processes.Acta
{
    public static class GestorActa
    {
        public static bool InsertarActa(Model.Acta.Acta acta)
        {
            try
            {
                if (DBActa.InsertarActa(acta))
                    return true;
                else
                    return false;
            }
            catch (Exception e)
            {
                
                throw e;
            }
            
        }
        public static Model.Acta.Acta getActa(string nro)
        {
            try
            {
                return DBActa.getActa(nro);
            }
            catch (Exception e)
            {

                throw e;
            }
            
        }
        public static bool setFecha(DateTime fecha,string nro)
        {
            try
            {
                return DBActa.SetFecha(fecha,nro);
            }
            catch (Exception e)
            {

                throw e;
            }
        }
    }
}
